.user-auth-page {
    height: 100vh;
    width: auto;
    background-image: url("../image/bimg.jpg");

    /* 让背景图覆盖整个容器，全部展示;居中；避免重复 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 65vw;
    height: 75vh;
    border: 0px solid #535151;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 6px 25px rgba(0, 0, 0, 0.7);

    display: flex;
    /* flex-direction: row; */
    justify-content: space-between;

    position: relative; /* 使子元素可以绝对定位 */
}

.left-box,
.right-box {
    display: flex;
    flex: 1;
    /* border: 5px solid #535151; */
    overflow: hidden;
    border-radius: 30px;
    position: relative; /* 为绝对定位的元素提供基准 */
}

.slide-box {
    position: absolute;
    /* background-image: url('/boxImg.png'); */
    top: 0;
    right: 50%;  /* 使slide-box在右侧*/
    bottom: 0; /* 确保高度与父元素相同 */
    z-index: 1; /* 确保slide-box在上面 */

    width: 50%;
    border-radius: 30px;
    transition: transform 1s ease;

    backdrop-filter: blur(5px);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    overflow: hidden;
}

.slide-box.active {
    transform: translateX(0);
}

.slide-box.left {
    transform: translateX(0%);
}

.slide-box.right {
    transform: translateX(100%);
}

/* .slide-box img {
    width: 100%;
    overflow: hidden;
} */

.slide-btn {
    display: inline-block;
    height: 8vh;
    margin-top: 50%;
    padding: 0.9rem 1.8rem;
    font-size: 16px;
    font-weight: 700;
    color: white;
    border: 3px solid rgb(252, 70, 100);
    cursor: pointer;
    position: relative;
    background-color: transparent;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    font-family: inherit;
}

.slide-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(252, 70, 100);
    transform: translateX(-100%);
    transition: all .3s;
    z-index: -1;
}

.slide-btn:hover::before {
    transform: translateX(0);
}

.slide-btn.slide-left {
    transform: translateX(-20px);
}

.slide-btn.slide-right {
    transform: translateX(20px);
}

/* .slide-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */